function urlParamsParse() {

    var search = location.search;  // ?keyword=%E5%8D%8E%E4%B8%BA&enc=utf-8&wq=%E5%8D%8E%E4%B8%BA&pvid=2594ef2dec5d4ac396b50ef99d4569a5
    console.log(search);
    var data = {}

    if (search) {
        // 将数据拆分为指定条数  ("&")

        var str = search.substring(1); // 从下标为1 截取到最后

        var list = str.split("&");
        // console.log(list); // ['user=a123123', 'pwd=123123', 'phone=17386151421', 'email=123132@qq.com']

        // 取出每一条的键名和键值  ("=")
        list.forEach(item => {  // 'user=a123123'
            var key = item.split("=")[0];
            var val = item.split("=")[1];
            data[key] = decodeURIComponent(val); // 数据解析成功之后 在对键值解码
        })
    }
    return data;
}